package com.example.atomikos.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author haitao.li
 * @description:
 * @date 2021/4/27 14:54
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.datasource.druid.stock")
public class StockDbConfigProperties {

    private String username;

    private String url;

    private String password;

    private String name;
}
